#ifndef _NVS_DRV_H
#define _NVS_DRV_H

#include <esp_err.h>
#include "nvs_flash.h"

esp_err_t read_nvs_space(char *namespace, char* key, char *buf, size_t maxlen);
esp_err_t write_nvs_space(char *namespace, char* key, char *str);
esp_err_t erase_nvs_space(char *namespace, char* key);

#endif